package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.article.dto.ArticleHomeDto;
import com.heima.model.article.pojo.ApArticle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper  extends BaseMapper<ApArticle> {

    List<ApArticle> load(ArticleHomeDto dto);

    List<ApArticle> loadmore(ArticleHomeDto dto);

    List<ApArticle> loadnew(ArticleHomeDto dto);
}
